package cn.edu.zut.hkxy.mapper;

import cn.edu.zut.hkxy.pojo.Stuinfo;
import cn.edu.zut.hkxy.pojo.StuinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface StuinfoMapper {
    long countByExample(StuinfoExample example);

    int deleteByExample(StuinfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Stuinfo record);

    int insertSelective(Stuinfo record);

    List<Stuinfo> selectByExample(StuinfoExample example);

    Stuinfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Stuinfo record, @Param("example") StuinfoExample example);

    int updateByExample(@Param("record") Stuinfo record, @Param("example") StuinfoExample example);

    int updateByPrimaryKeySelective(Stuinfo record);

    int updateByPrimaryKey(Stuinfo record);
}